:root, body, .root, .load {
    width: 100%;
    height: 100%;
}

:root {
    --textColor: #000;

    /* 字体大小 */
    --textSizeP: 14px;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    color: var(--textColor);
    font-size: var(--textSizeP);
}

.load {
    background-image: linear-gradient(70deg, #7c4b40, #643441);
    filter: brightness(140%);
    text-align: center;
    border: solid 0.1px #643441;
    /* display: none; */
}

/* 提示输入密码进入   样式 */
.modal-title , .modal-body{
    color: #000;
}


/* 顶部开始 */
/* cover */
.load .top {
    width: 100%;
    position: relative;

}

.load .top .letter-cover {
    width: 100%;
    background: #643441;
    height: 50px;
    border-radius: 0 0 60px 60px;
    box-shadow: 0.5px 0.5px 0.5px 0.5px #000;
    position: absolute;
}

.load .top .letter-post {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 30px;
    left: calc(50% - 25px);
    background: #7c4b40;
    border-radius: 100%;
    overflow: hidden;
    box-shadow: 0.1px 0.1px rgb(59, 46, 46);
}

/* post */
/* 顶部结束 */







.load .center {
    margin: 150px 0 0 15%;
    width: 70%;
    opacity: 0.9;
}

/* 卡片 */
.load .center .card {
    /* overflow: hidden; */
    border-radius: 10px;
}

.load .center .card div {
    border-radius: inherit;
    position: relative;

}

.load .center .card div img {
    overflow: hidden;
    width: 100%;
    max-height: 300px;
    height: auto;
    border-radius: inherit;
    box-shadow: 0.1px 0.1px 0.1px 0.1px #000;
}

/* 卡片图片蒙版 */
.load .center .card div .meng {
    position: absolute;
    background: #000;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}


/* 卡片内容 */
.load .center .card .card-body {
    text-align: right;
}

.load .center .card .card-body .card-center {
    font-size: 24px;
    opacity: 0.7;
    line-height: 26px;
}

.load .center .card .card-body .card-center small{
    color: #767171;
}

/* 卡片结束 */






/* 信页面 开始 */
.letters-box {
    width: 100%;
    height: 100%;
    position: relative;
    display: none;
}

.letters {
    /* display: none; */
    position: absolute;
    top: 0;
    width: 100%;
    padding: 15px;
    height: 100%;
    box-sizing: border-box;
}

.letters .card {
    box-shadow: 1px 1px 1px 1px #000;
    padding: 3px;
    margin-bottom: 10px;
}


.letters .card .car-top {
    width: 100%;
    background: #fff;
    height: 80px;
    /* 要支撑顶部内容 */
    position: relative;
}

.letters .card .car-top ul {
    position: absolute;
    top: 0;
}

.letters .card .car-top ul li {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: solid 1px #000;
    margin-left: 4px;
}

.letters .card .car-top .img-box {
    position: absolute;
    right: 6px;
    top: 6px;
    width: 45px;
    height: 60px;
    border: solid 1px #000;
}


/* 信封  主题内容card */
.letters .letter .card-body {
    margin-top: 0px;
    background: repeating-linear-gradient(to bottom, #fff, #fff 29px, #000 30px);
    /* 要适应行高 */
    width: 100%;
    padding: 0px 5px;
    height: auto;
    overflow: hidden;

}

.letters .letter .card-body .card-text {
    color: #000;
    padding: 0;
    margin: 0 0 16px 0;
    /*每段文字p标签的间隔*/
    font-size: 24px;
    line-height:30px;
    /* 要适应纸张分隔线 */
    text-shadow: 0.3px 0.3px #000;
    opacity: 0.6;
}

.letters .letter .card-body .card-end {
    text-align: right;
}


/* 底部按钮 */

.letters .letter .card-bottom {
    width: 100%;
    height: auto;
    position: relative;
    height: 20px;
}

.letters .letter .card-bottom .btnb {
    margin-top: 2px;
    font-size: 12px;
    color: #000;
    background: #fff;
    border: none;
    height: 18px;
    line-height: 18px;
    text-align: center;
    width: 60px;
    opacity: 0.7;
    border-radius: 0px;
    box-shadow: 1px 1px#000;
}

.letters .letter .card-bottom .reading {
    position: absolute;
    left: 10px;
}

.letters .letter .card-bottom .setting {
    position: absolute;
    right: 10px;
}

.letters .letter .card-bottom .sharing {
    position: absolute;
    right: 80px;
}

/* 添加信 */
.letters .add-card{
    width: 100%;
    height: auto;
    text-align: center;
    margin: 8px 0;
   
}
.letters .add-card a{
    text-decoration: underline;
    font-weight: bold;
}

/* 信封面  动画 */
.jump-letter-paper {
    transition: 2s;
    -webkit-transition: 2s;
}



/* 信封面 卡片  结束 */


/* 信纸div 开始 */

.letters-box .letter-paper-box {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    background: #f1edda;
}


/* 文字信件 */
.letters-box .letter-paper-box {
    display: none;
    opacity: 0;
}

/* 顶部导航栏 */
.letters-box .letter-paper-box .top-nav{
    position: relative;
    height: 20px;
    margin-top: 5px;
}
.letters-box .letter-paper-box .top-nav button{
    position: absolute;
    width: auto;
    height: auto;
    text-align: center;
    border: none;
    background: #00000000;
}
.letters-box .letter-paper-box .top-nav button svg{
    display: inline-block;
    width: 40px;
    height: 20px;
}
.letters-box .letter-paper-box .top-nav .setting{
    right: 10px;
}
.letters-box .letter-paper-box .top-nav .setting #plays{
    display: none;
}
.letters-box .letter-paper-box .top-nav .back{
    left: 10px;
}
.letters-box .letter-paper-box .top-nav .share{
    right: 60px;
}


.letters-box .letter-paper-box .letter-paper {
    background: repeating-linear-gradient(#00000000, #00000000 39px, #000 40px);
    /* 要适应行高 */
    width: calc(100% - 30px);
    height: auto;
    min-height: calc(200% - 45px);
    margin: 20px 15px 0px 15px;
    padding: 0px 5px;
    overflow: hidden;
}
.letters-box .letter-paper-box .letter-paper p{
    float: left;
}
.letters-box .letter-paper-box .letter-paper .paper-text {
    font-size: 27px;
    color: #383840;
    line-height: 40px;
    text-align: bottom;
    letter-spacing: 2px;
    margin: 0;
}

.letters-box .letter-paper-box .letter-paper .paper-text img {
    overflow: hidden;
    width: 100%;
    max-height: 250px;
    height: auto;
    margin: 20px 0;
    border-radius: 5px;
    opacity: 1 !important;
    object-fit: cover;
    object-position: center center;
}
#reading{
    background: #7c4b40;
}
.letters-box .letter-paper-box .letter-paper .paper-text small {
    font-style: italic;
    font-size: 20px;
    line-height: 40px;
    color: rgb(153, 153, 153);
    margin: 0;
    width: 100%;
    text-align: right;
}

.letters-box .letter-paper-box .letter-paper .paper-text-right {
    font-size: 20px;
    line-height: 40px;
    color: rgb(153, 153, 153);
    margin: 0;
    width: 100%;
    text-align: right;
}






/* 文字信件  结束 */



/* 语音信箱box */
.letters-box .letter-paper-box .voice-letter {
    width: calc(100% - 30px);
    height: 60px;
    background: #d1c8c8;
    margin: 10px 15px 0 15px;
    border-radius: 3px;
    padding: 5px;
    display: none;
}

.letters-box .letter-paper-box .voice-letter .left-text {
    height: 50px;
    width: calc(100% - 55px);
    float: right;
}

.letters-box .letter-paper-box .voice-letter .right-voice {
    width: 50px;
    height: 50px;
    border-radius: 2px;
    float: right;
    text-align: center;
    border:solid 1px #000;
    position: relative;
}

.letters-box .letter-paper-box .voice-letter .right-voice svg {
    width: 36px;
    height: 36px;
    position: absolute;
    top: 7px;
    left: 7px;
}

.letters-box .letter-paper-box .voice-letter .left-text p {
    margin: 0;
}

.letters-box .letter-paper-box .voice-letter .left-text .voice-title {
    font-size: 16px;
    color: #000;
    margin: 5px 0;
    font-weight: 400px;
}

.letters-box .letter-paper-box .voice-letter .left-text .voice-script {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.5);
}

/* 信纸div  结束*/
/* 信页面  结束 */